package com.sunrise.generico.entidade;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Getter;
import lombok.Setter;

import com.sunrise.generico.entidade.iface.EntidadeManter;

@Entity
@Table(name = "configuracao")
public class Configuracao implements EntidadeManter {

	private static final long serialVersionUID = -3070159621011097321L;

	@Id
	@SequenceGenerator(name="pk_sequence",sequenceName="configuracao_id_seq", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="pk_sequence")
	@javax.persistence.Column
	@Getter @Setter
	private Long id;
	
	@Transient
	@Getter @Setter
	private String nome;
	
	@Column(name = "automatizarFornecedor")
	@Getter @Setter
	private Boolean automatizarFornecedor;
	
	@Column(name = "transportadorAutomaticamente")
	@Getter @Setter
	private Boolean automatizarTransportador;
	
	@Column(name = "importarNFE")
	@Getter @Setter
	private Boolean importarNFE;
	
	@Column(name = "automatizarMarca")
	@Getter @Setter
	private Boolean automatizarMarca;
	
	@Column(name = "automatizarSetor")
	@Getter @Setter
	private Boolean automatizarSetor;
	
	@Column(name = "automatizarLinha")
	@Getter @Setter
	private Boolean automatizarLinha;
	
	@Column(name = "automatizarColecao")
	@Getter @Setter
	private Boolean automatizarColecao;
	
	@Column(name = "automatizarTamanho")
	@Getter @Setter
	private Boolean automatizarTamanho;
	
	@Column(name = "automatizarUnidade")
	@Getter @Setter
	private Boolean automatizarUnidade;
	
	@Column(name = "automatizarCor")
	@Getter @Setter
	private Boolean automatizarCor;
	
	@Column(name = "utilizaImpostos")
	@Getter @Setter
	private Boolean utilizaImpostos;

	
	
}
